package com.wj.infrastructure.mapper;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @description:
 * @author: wj
 * @create: 2021/12/1 9:14
 */
@Mapper
public interface ChapterContentMapper {

    @Delete("delete from chapter_content where book_id=#{bookId}")
    void deleteByBookId(@Param("bookId") Long bookId);
}
